<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>日志列表-乡土卫士-最美乡村</title>  
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/wx/css/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/wx/css/detail.css" />
</head>
<body>
<div class="detail">
	<div class="top"><span>日志管理</span><a href="__MODULE__/Vadmin/diary_add/">写日志</a></div>
    <div class="list-rz">
    	<ul>
        <volist name="list" id="vo">
        	<li>
            	<h2><a href="__MODULE__/Article/diary/id/{$vo.id}/">{$vo.title}</a></h2>
                <p><span>{$vo.supports}点赞</span><span>{$vo.com_num}评论</span><time>{$vo.addtime|date='Y-m-d',###}</time></p>
                <i class="del" data="{$vo.id}">删除</i>
            </li>
        </volist>	
        </ul>
    </div>
</div>
	<script src="__PUBLIC__/wx/js/jquery-1.3.1.min.js" ></script>
	<script>
	    $(".del").click(function(){
			var id=Number($(this).attr('data'));
			$.get("__MODULE__/Vadmin/diary_del/id/"+id);
	    	$(this).parents("li").remove();
	    });
	</script>
</body>
</html>